// This is the TESTER. DO NOT Modify It!!!
public class TestTotalProfit extends junit.framework.TestCase
{
public void testTotalProfit1()
{
assertEquals(70.0, Module1.totalProfit(20));
}
public void testTotalProfit2()
{
assertEquals(-11.0, Module1.totalProfit(2));
}
}